package cn.huijielong.common.constants;
/**
 * 文件标签（归类）
 * @author xys
 *
 */
public final class OssFileTag {
	/**
	 * 标题
	 */
	public final static String TITLE="title";
	/**
	 * 内容
	 */
	public final static String DETAIL="detail";
	/**
	 * 头像
	 */
	public final static String HEAD_IMG="headImg";
	/**
	 * 身份证
	 */
	public final static String IDENTITY_CARD="identityCard";
	
	public static String name(String type) {
		switch(type) {
		case TITLE:
			return "标题";
		case DETAIL:
			return "详情";
		case HEAD_IMG:
			return "头像";
		case IDENTITY_CARD:
			return "身份证";
		default:
			return type;
		}
	}
}
